#ifndef __APP_SLEEP__
#define __APP_SLEEP__

#include "CTSoBase.h"
#include "CTMsgBase.h"
#include "ykskmsg.h"

using namespace CTLib;

class CAppSleep : public CTSoAppInf
{
public:
    CAppSleep();
    virtual ~CAppSleep();

    virtual int Init(void *);
    virtual int Do(const CEnpNetHead& stHead, const char* pszReqBuf, int iReqLen,
        char* pszAnsBuf, int iAnsBufLen, int& iAnsLen);
    virtual int Exit();

private:
    CTMsgHead m_stMsgHead;
    CTCodeStream m_stDecodeStream;
    CTCodeStream m_stEncodeStream;
};



#endif
